package com.jrx.anytxn.transaction.bean;

import com.jrx.anytxn.common.annotation.MethodType;
import com.jrx.anytxn.common.constant.CommonContants;
import com.jrx.anytxn.transaction.constant.TransBizConstant;
import com.jrx.anytxn.transaction.entity.*;

import java.util.ArrayList;
import java.util.List;

/**
 * @program: anytxn-cf-transaction
 * @description: 日终延滞处理保存Bean
 * @author: xiaoyu.jing
 * @date: 2019-11-14 22:04
 **/
public class DelqSaveBean {
    private AmRepaymentPlanInfo updatePlan;
    private AmDelinquencyInfo insertDelq;
    private AmDelinquencyInfo updateDelq;
    private AmLoanAccountInfo updateLoan;
    private List<AmInterestAccrualInfo> accrualList = new ArrayList<>();
    private List<AmAccountMainInfo> updateAcctList = new ArrayList<>();

    @MethodType(CommonContants.METHOD_TYPE_UPDATE)
    public AmRepaymentPlanInfo getUpdatePlan() {
        return updatePlan;
    }

    public void setUpdatePlan(AmRepaymentPlanInfo updatePlan) {
        this.updatePlan = updatePlan;
    }

    @MethodType(CommonContants.METHOD_TYPE_SAVE)
    public AmDelinquencyInfo getInsertDelq() {
        return insertDelq;
    }

    public void setInsertDelq(AmDelinquencyInfo insertDelq) {
        this.insertDelq = insertDelq;
    }

    @MethodType(CommonContants.METHOD_TYPE_UPDATE)
    public AmDelinquencyInfo getUpdateDelq() {
        return updateDelq;
    }

    public void setUpdateDelq(AmDelinquencyInfo updateDelq) {
        this.updateDelq = updateDelq;
    }

    @MethodType(CommonContants.METHOD_TYPE_SAVE)
    public List<AmInterestAccrualInfo> getAccrualList() {
        return accrualList;
    }

    public void setAccrualList(List<AmInterestAccrualInfo> accrualList) {
        this.accrualList = accrualList;
    }

    @MethodType(CommonContants.METHOD_TYPE_UPDATE)
    public AmLoanAccountInfo getUpdateLoan() {
        return updateLoan;
    }

    public void setUpdateLoan(AmLoanAccountInfo updateLoan) {
        this.updateLoan = updateLoan;
    }

    @MethodType(CommonContants.METHOD_TYPE_UPDATE)
    public List<AmAccountMainInfo> getUpdateAcctList() {
        return updateAcctList;
    }

    public void setUpdateAcctList(List<AmAccountMainInfo> updateAcctList) {
        this.updateAcctList = updateAcctList;
    }
}
